package com.loongtech.bi.entity.ios;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "bi_ios_month_product")
public class EntityMonthProductManager implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int id;
	@Column(columnDefinition = "varchar(32) NOT NULL default ''")
	private String projectid;
	@Column(columnDefinition = "varchar(32) NOT NULL default ''")
	private String productid;
	@Column(columnDefinition = "varchar(10) NOT NULL default ''")
	private String lookMonth;
	@Column(columnDefinition = "varchar(32) NOT NULL default ''")
	private String cost;
	@Column(columnDefinition = "varchar(32) NOT NULL default ''")
	private String unsubscribe;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getLookMonth() {
		return lookMonth;
	}

	public String getCost() {
		return cost;
	}

	public void setCost(String cost) {
		this.cost = cost;
	}

	public String getProductid() {
		return productid;
	}

	public void setProductid(String productid) {
		this.productid = productid;
	}

	public String getUnsubscribe() {
		return unsubscribe;
	}

	public void setUnsubscribe(String unsubscribe) {
		this.unsubscribe = unsubscribe;
	}

	public String getProjectid() {
		return projectid;
	}

	public void setProjectid(String projectid) {
		this.projectid = projectid;
	}

	public void setLookMonth(String lookMonth) {
		this.lookMonth = lookMonth;
	}

	public static class K {
		public static final String id = "id";
		public static final String projectid = "projectid";
		public static final String productid = "productid";
		public static final String lookMonth = "lookMonth";
		public static final String cost = "cost";
		public static final String unsubscribe = "unsubscribe";

		public static java.util.List<String> toList() {
			java.util.List<String> list = new java.util.ArrayList<>();
			list.add(id);
			list.add(projectid);
			list.add(productid);
			list.add(lookMonth);
			list.add(cost);
			list.add(unsubscribe);
			return list;
		}
	}
}
